<?php

//=======================����֧��������֧����������==================
//��Ѷ�̻�ID
$eka_merchant_id		= '1174';

//��Ѷͨ����Կ
$eka_merchant_key		= '1091149483ab40c9bc8459c673ee74fa';	//hc6NOTDETVQe9Lgr


//==========================����֧������=============================
//֧�������� 0���ȫ��ͨ��	
$eka_restrict			= '0';


//���ռ�Ѷ������ݵĵ�ַ, �õ�ַ�����ǿ����ٻ������Ϸ��ʵ���ַ
$eka_callback_url		= "http://".$_SERVER["SERVER_NAME"]."/pay/JiXun/callback/pay_card_callback.php";
$eka_callback_url_muti  = "http://".$_SERVER["SERVER_NAME"]."/pay/JiXun/callback/pay_card_callback_muti.php";

//======================����֧������=================================
//���ռ�Ѷ����֧���ӿڵĵ�ַ
$eka_bank_callback_url	= "http://".$_SERVER["SERVER_NAME"]."/pay/JiXun/callback/pay_bank_callback.php";  


//����֧����ת�ص�ҳ���ַ
$eka_bank_hrefbackurl	= '';

function GetBankCode($bankid) {
	$bankcode = "";
	if ($bankid == 'ICBC-NET-B2C')//�й���
		$bankcode = "967";
	if ($bankid == 'CMBCHINA-NET-B2C')//��������
		$bankcode = "970";
	if ($bankid == 'ABC-NET-B2C')//�й�ũҵ����
		$bankcode = "964";
	if ($bankid == 'CCB-NET-B2C')//��������
		$bankcode = "965";
	if ($bankid == 'BCCB-NET-B2C')//��������
		$bankcode = "989";
	if ($bankid == 'BOCO-NET-B2C')//��ͨ����
		$bankcode = "981";
	if ($bankid == 'CIB-NET-B2C')//��ҵ����
		$bankcode = "972";
	if ($bankid == 'NJCB-NET-B2C')//�Ͼ�����
		$bankcode = "979";
	if ($bankid == 'CMBC-NET-B2C')//�й���������
		$bankcode = "980";
	if ($bankid == 'CEB-NET-B2C')//�������
		$bankcode = "986";
	if ($bankid == 'BOC-NET-B2C')//�й�����
		$bankcode = "963";
	if ($bankid == 'PINGANBANK-NET')//ƽ������
		$bankcode = "978";
	if ($bankid == 'CBHB-NET-B2C')//��������
		$bankcode = "988";
	if ($bankid == 'HKBEA-NET-B2C')//��������
		$bankcode = "987";
	if ($bankid == 'NBCB-NET-B2C')//��������"
		$bankcode = "";
	if ($bankid == 'ECITIC-NET-B2C')//��������
		$bankcode = "962";
	if ($bankid == 'SDB-NET-B2C')//���ڷ�չ����
		$bankcode = "974";
	if ($bankid == 'GDB-NET-B2C')//�㷢����
		$bankcode = "985";
	if ($bankid == 'SHB-NET-B2C')//�Ϻ�����
		$bankcode = "975";
	if ($bankid == 'SPDB-NET-B2C')//�Ϻ��ֶ���չ����
		$bankcode = "977";
	if ($bankid == 'POST-NET-B2C')//�й�����
		$bankcode = "971";
	if ($bankid == 'BJRCB-NET-B2C')//����ũ����ҵ����
		$bankcode = "990";
	if ($bankid == 'HXB-NET')//��������
		$bankcode = "982";
	if ($bankid == 'CZ-NET-B2C')//��������
		$bankcode = "968";
	if ($bankid == 'HZBANK-NET-B2C')
		$bankcode = "";
	if ($bankid == 'SCCB-NET')
		$bankcode = "";
	if ($bankid == 'NCBBANK-NET')
		$bankcode = "";
	return $bankcode;
}
?>